package com.balance.service.sys.impl;

import com.balance.mapper.sys.SysOperationLogMapper;
import com.balance.pojo.sys.SysOperationLog;
import com.balance.service.sys.ISysOperationLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Title: SysOperationLogServiceImpl
 * @Author 小东
 * @Package com.balance.service.sys.impl
 * @Date 2025/3/28 16:06
 * @description: 日志服务层
 */
@Service
public class SysOperationLogServiceImpl implements ISysOperationLogService {
    @Autowired
    private SysOperationLogMapper sysOperationLogMapper;
    @Override
    public int insertOperationLog(SysOperationLog log) {
        return sysOperationLogMapper.insertOperationLog(log);
    }

    @Override
    public List<SysOperationLog> getList(SysOperationLog sysOperationLog) {
        return sysOperationLogMapper.getList(sysOperationLog);
    }
}
